#ifndef BLOK_H_
#define BLOK_H_

#include <stdio.h>
#include "const.h"
#include "types.h"

class Blok {
protected:
	int		usecount;
public:
	Blok(byte *bytes);
	virtual ~Blok();
	byte *getBytes(byte* buffer, int offset, int length);
    byte* getBytes();
    int getUsecount();
    void incrementUsecount();
	byte 	bytes[DBLKSIZ];
};

#endif
